package com.whately.core.database.common.constant;

public class WhatelyDbConstant {
    /*****************************************************************************
     * 常量
     ****************************************************************************/
    public static final int TX_METHOD_TIMEOUT = 60;

    //common库(序列和字典) mapper 切面
    public static final String DATABASE_COMMON_SEQ_DIC="seqdic";
    public static final String SEQ_DIC_MAPPER_POINT_CUT_EXECUTION ="execution(* com.whately.core.database.common.dal.mapper.*.*(..))" ;
    public static final String[] DATABASE_COMMON_SEQ_DIC_MAPPERS ={
            "com.whately.core.database.common.dal.mapper.CommonDicDtlMapper" ,
            "com.whately.core.database.common.dal.mapper.CommonDicMapper" ,
            "com.whately.core.database.common.dal.mapper.CommonSequenceMapper" ,
            "com.whately.core.database.common.dal.mapper.CommonSequenceMapperExt"};

    //
    public static final String  GLOBAL_TX_INTERCEPTOR =  "txInterceptorWhatelyGlobal";
    public static final String GLOBAL_SEQUENCE_INTERCEPTOR_OPEN_TX_NAME="txInterceptorWhatelyCoreSequenceOpenTx";
}
